//
//  PurchaseHistoryModel.swift
//  LeTu
//
//  Created by gy on 2023/12/8.
//

import Foundation

class PurchaseHistoryModel: Mappable {
    
    /// 标题
    var title = ""
    /// 购买时间
    var createTime = ""
    /// 会员有效期至
    var endTime = ""
    /// 支付金额
    var orderMoney = 0.0
    
    var aliOrderInfo = ""
    var cancelTime = ""
    var couponId = 0
    var couponMoney = ""
    var couponName = ""
    var deleted = 0
    var englishTitle = ""
    var id = 28
    var outTradeNo = ""
    var payStatus = 0
    var payType = 0
    var paymentMoney = ""
    var paymentTime = ""
    var purchaseType = 2
    var scenicId = 0
    var startTime = ""
    var updateTime = ""
    var userId = 7
    var userMobile = 0
    var wxOrderInfo = ""
    
    init() {
        
    }
    
    required init?(map: ObjectMapper.Map) {
        
    }
    
    func mapping(map: ObjectMapper.Map) {
        
        title <- map["title"]
        createTime <- map["createTime"]
        endTime <- map["endTime"]
        orderMoney <- map["orderMoney"]
        
    }
    
}
